package xcmg.device.infra.enums;

/**
 * 定时任务记录
 */
public enum TaskRecordEnum {
    PULL_MATERIALS(1,"pull_materials"),
    PULL_MARKETING(2,"pull_marketing"),
    PULL_SEND_BILL(3,"pull_send_bill"),
    PULL_BARCODE(4,"pull_barcode"),
    PULL_PURCHASE_STOCK(5,"pull_purchase_stock"),
    PUSH_MARKETING(6,"push_marketing"),
    PULL_BL_BILL(7,"pull_bl_bill")
    ;


    private String desc;
    private int code;

    TaskRecordEnum(int code, String desc) {
        this.desc = desc;
        this.code = code;
    }

    public String getDesc()
    {
        return desc;
    }

    public int getCode()
    {
        return code;
    }

}
